package com.airnewslinkosky.ticket.ui.personcenter;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.airnewslinkosky.ticket.R;
import com.airnewslinkosky.ticket.ui.BaseActivity;
import com.airnewslinkosky.ticket.ui.PersonCenter;
import com.mobclick.android.MobclickAgent;

/**
 *公司信息操作
 * @author 
 */
public class CompanyEdit extends BaseActivity{
	private Button backBut;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.company);
		activityList.add(this);
		
		OnClickListener b_ocl= new OnClickListener() { 
	    	public void onClick(View v) { 
	    		switch (v.getId()) {
	    		case R.id.backBut:
	    			Intent intent = new Intent();
	    			intent.setClass(CompanyEdit.this, PersonCenter.class);
	    			startActivity(intent);
	    			break;
	    		}
	    	}
		};
		
		backBut = (Button) findViewById(R.id.backBut);
		backBut.setOnClickListener(b_ocl);
	}

	public void onResume() {     
		super.onResume();     
		MobclickAgent.onResume(this); 
	}  
	
	public void onPause() {     
		super.onPause();     
		MobclickAgent.onPause(this); 
	}  
	

}